<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wiinner:  Fichier source de Menu.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.6.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&nbsp;de&nbsp;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Recherche" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&nbsp;de&nbsp;fichier</span></a></li>
    </ul>
  </div>
<h1>Menu.h</h1><a href="_menu_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#pragma once</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#include &quot;irrlicht.h&quot;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;windows.h&gt;</span>
<a name="l00005"></a>00005 
<a name="l00006"></a><a class="code" href="_menu_8h.html#a34c109ff6a0293c4706defe141ef7e0c">00006</a> <span class="preprocessor">#define JAUNE 0</span>
<a name="l00007"></a><a class="code" href="_menu_8h.html#a358a59dd21062085dd34d5c228c5f136">00007</a> <span class="preprocessor"></span><span class="preprocessor">#define ROUGE 1</span>
<a name="l00008"></a><a class="code" href="_menu_8h.html#a22c2b7cb14b1ffb516a9ed4a164b5cda">00008</a> <span class="preprocessor"></span><span class="preprocessor">#define VERT 2</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00014"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7a">00014</a> <span class="keyword">enum</span> <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7a" title="enum">GUI_ELEMENT_ID</a>{
<a name="l00015"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aada2df1e208e4e765ce29622a93a7e664">00015</a>     <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aada2df1e208e4e765ce29622a93a7e664">GUI_ID_DIALOG_WIIMOTE_FAIL</a>,
<a name="l00016"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa9cc407a444a13b27b00cf5cd238c9fdd">00016</a>     <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa9cc407a444a13b27b00cf5cd238c9fdd">GUI_ID_DIALOG_LUNETTES_FAIL</a>,
<a name="l00017"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa29b4fe004bbad86578af75aab1d72879">00017</a>     <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa29b4fe004bbad86578af75aab1d72879">GUI_ID_MAIN_WINDOW</a>,
<a name="l00018"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa74f5f3b88afd0c4f09cbc1c80b126f07">00018</a>     <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa74f5f3b88afd0c4f09cbc1c80b126f07">GUI_ID_QUICK_MENU</a>,
<a name="l00019"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aaa07f80e28b44b6afabbf32e9fd9dd60e">00019</a>     <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aaa07f80e28b44b6afabbf32e9fd9dd60e">GUI_ID_3D_BUTTON</a>,
<a name="l00020"></a><a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa09ed2cedc03da301e67c5f1d84a74b59">00020</a>     <a class="code" href="_menu_8h.html#aa2ea08604ec026a31a932e88c5af3c7aa09ed2cedc03da301e67c5f1d84a74b59">GUI_ID_QUIT_BUTTON</a>
<a name="l00021"></a>00021 };
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 
<a name="l00028"></a><a class="code" href="class_menu.html">00028</a> <span class="keyword">class </span><a class="code" href="class_menu.html" title="Classe permettant d&amp;#39;afficher en stereo la scene.">Menu</a>
<a name="l00029"></a>00029 {
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="keyword">public</span>:
<a name="l00033"></a>00033         <a class="code" href="class_menu.html#af4ceee4fcf54cd30b9aeb18206c9a9db">Menu</a>(irr::IrrlichtDevice *device, <span class="keywordtype">bool</span> lunettes, <span class="keywordtype">bool</span> wiimote);
<a name="l00034"></a>00034     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a4ce369a715f63cae66643f12834d8312">drawAll</a>();
<a name="l00035"></a>00035     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a03366ca54fb4432a6c9a9fc5b83fe997">setVisible</a>();
<a name="l00036"></a>00036 
<a name="l00037"></a>00037     <span class="keywordtype">int</span> <a class="code" href="class_menu.html#acf8b3f966959fd943b688f08c5e15cf4">getColor</a>();
<a name="l00038"></a>00038     <span class="keywordtype">int</span> <a class="code" href="class_menu.html#ae8df1710a3c48a9b659f8cd74d6a913c">getSize</a>();
<a name="l00039"></a>00039 
<a name="l00040"></a>00040     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#ae0bf7dbb852a4aa6bbdab034259b0053">nextSize</a>();
<a name="l00041"></a>00041     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a133332fd5ea4667c323fe8a6331697eb">nextColor</a>();
<a name="l00042"></a>00042     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a6db41d8cd165134d5b101053d87ffa62">previousSize</a>();
<a name="l00043"></a>00043     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a1c798576f19ac00d6f05455159703eba">previousColor</a>();
<a name="l00044"></a>00044 
<a name="l00045"></a>00045     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a8216ddc511d8de2988f88131f9e8dcf2">toggleMainMenu</a>();
<a name="l00046"></a>00046     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a3a8ec2c0781550491df47e641b272b39">setCursorDraggable</a>();
<a name="l00047"></a>00047 
<a name="l00048"></a>00048     <span class="keywordtype">void</span> <a class="code" href="class_menu.html#a9705f0bf073890cb518d4a4dbd741f5f">activer3D</a>();
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="keyword">private</span>:
<a name="l00051"></a>00051         irr::IrrlichtDevice *m_device;
<a name="l00052"></a>00052     irr::gui::IGUIEnvironment *m_environment;
<a name="l00053"></a>00053 
<a name="l00054"></a>00054         irr::gui::IGUIStaticText  *etat_batterie;
<a name="l00055"></a>00055         irr::gui::IGUIListBox *choix_couleur;
<a name="l00056"></a>00056         irr::gui::IGUIListBox *choix_taille;
<a name="l00057"></a>00057 
<a name="l00058"></a>00058         irr::gui::IGUIWindow *fenetre_menu;
<a name="l00059"></a>00059         irr::gui::IGUIWindow *menu_principal;
<a name="l00060"></a>00060 
<a name="l00061"></a>00061     irr::u32 GUI_last_change;
<a name="l00062"></a>00062         <span class="keywordtype">int</span> color;
<a name="l00063"></a>00063         <span class="keywordtype">int</span> size;
<a name="l00064"></a>00064 
<a name="l00065"></a>00065         <span class="keywordtype">bool</span> lunettes_on;
<a name="l00066"></a>00066         <span class="keywordtype">bool</span> wiimote_on;
<a name="l00067"></a>00067 
<a name="l00068"></a>00068 };
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Généré par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>
